<ion-view class="bg">
  <ion-header-bar class="bar bar-positive">
    <button class="button back-button buttons icon ion-ios-arrow-left button-clear" nav-direction="back" ui-sref="addGoods">返回</button>
    <h3 class="title">填写中转信息</h3>
    <!--<button class="button button-icon icon ion-arrow-swap" ng-click="goFillInDriver()"></button>-->
  </ion-header-bar>
  <ion-content>
      <div class="list card">
        <div class="item item-input item-divider div">
          <i class="ion ion-home calm typeIcon"></i>
          <i class="dark">中转公司信息</i>
        </div>
        <label class="item item-input item-select div">
          <i class="input-label col-25" >中转公司</i>
          <select id="cptCompany">
            <option value="" selected>请选择公司</option>
            <option ng-repeat="i in cptCompany" value="{{i.DEPT_ID}}">{{i.NAME}}-{{i.DEPT_NAME}}-{{i.STATUS_NAME}}</option>
          </select>
        </label>
        <label class="item item-input div">
          <i class="input-label col-25" >公司电话</i>
          <input type="tel" placeholder="请输入中转公司电话" maxlength="15" ng-model="transferCompanyMsg.transferMap.company_phone">
        </label>
        <label class="item item-input div">
            <i class="input-label col-25" >中转日期</i>
            <button class="button button-block date button-clear" ng-click="showDate()" style="color: black;">{{transferCompanyMsg.transferMap.transferDate | date : "yyyy年MM月dd日"}}</button>
        </label>
        <div class="item item-input item-divider div">
            <i class="ion ion-android-list balanced typeIcon"></i>
            <i class="dark">其他信息</i>
        </div>
        <label class="item item-input div">
          <i class="input-label col-25" >中转费</i>
          <input type="text" ng-model="transferFeeTotal" readonly>
        </label>
        <label class="item item-input item-select div">
          <i class="input-label col-25" >付款方式</i>
          <select id="paymentMethod">
            <option ng-repeat="i in paymentMethods" value="{{i.key}}">{{i.value}}</option>
          </select>
        </label>
        <div class="item item-input">
          <textarea type="text" maxlength="20" style="height: 80px;" placeholder="备注" ng-model="transferCompanyMsg.transferMap.remark"></textarea>
        </div>
      </div>
  </ion-content>
  <ion-footer-bar>
    <div class="btnDiv">
      <button class="button button-positive longButton" ng-click="saveTransferBill()">保存</button>
    </div>
  </ion-footer-bar>
</ion-view>
